<script type="text/javascript">
$(function(){
	$('.chooseOtherCity').openDOMWindow({ 
                        height:250, 
                        width:510, 
                        positionType:'centered', 
                        positionTop:100, 
                        eventType:'click', 
                        positionLeft:100, 
                        windowSourceID:'#chooseCity', 
                        windowPadding:10, 
                        /*draggable:1,*/ 
                        windowBGColor:'#FFFFFF', 
                        borderColor:'#24386c',
                        borderSize: '12', 
                        overlayOpacity:40 
});	
			
	$('.embedDOMWindow').openDOMWindow({ 
                        height:385, 
                        width:430, 
                        positionType:'centered', 
                        eventType:'click', 
                        windowSourceID:'#embed', 
                        borderColor:'#24386c;',
                        borderSize: '12', 
	});
});

</script>
<?
	$sess = new Zend_Session_Namespace(CLU_NS); 
?>
<div class="box box_town_margin" style="background:#e7e7e6;">
	<div class="vietnam_town_left">
    	<div class="box_category_bar"><?=t(193)?></div>
        <div class="box_category_title"><a href="<?=$this->hvnUrl(array('module' => 'node', 'action' => 'view','type' => 'news','controller' => 'master'), 'node')?>?id=21"><?=t(194)?></a></div>
        <div class="clear"></div>
        <div class="box_category_title"><a href="<?=$this->hvnUrl(array('module' => 'node', 'action' => 'view','type' => 'news','controller' => 'master'), 'node')?>?id=21"><?=t(195)?></a></div>
        <div class="clear"></div>
        <div class="box_category_title"><a href="#"><?=t(186)?></a></div>
        <div id="embed" style="display: none;color: gray;">
             <div class="clear"></div>
                 <div class="chitiet_bar_ajax" style="width: 100%">&nbsp;&nbsp;<?=t(188)?></div>
          <br /><br /><br />
        	<div>
        		    <object width="428" height="430"><param name="movie" value="http://www.youtube.com/v/XLAatIKnR3Q&hl=en&fs=1&"></param>
	        		<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
	        		<embed src="http://www.youtube.com/v/XLAatIKnR3Q&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="430" height="344"></embed>
        		</object>
        	</div>
        </div>
        
        <div class="clear"></div>
        <div class="box_category_title"><a href="#embed" class="embedDOMWindow"><?=t(188)?></a></div>
        <div class="clear"></div>
        <div class="box_category_title"><a href="<?=$this->hvnUrl(array('module' => 'place', 'action' => 'view','type' => 'news','controller' => 'master'), 'nocontroller')?>?view_city=1&id=20"><?=t(189)?></a></div>
        <div class="clear"></div>
        <div class="box_category_title"><a href="<?=$this->hvnUrl(array('module' => 'node', 'action' => 'view','type' => 'news','controller' => 'master'), 'node')?>?id=21"><?=t(190)?></a></div>
        <div class="clear"></div>
        <div class="box_category_title"><a href="<?=$this->hvnUrl(array('module' => 'node', 'action' => 'view','type' => 'news','controller' => 'master'), 'node')?>?id=21"><?=t(191)?></a></div>
        <div class="clear"></div>
        <div class="box_category_bar"><a href="#"><?=t(187)?></div>
        <div class="vietnam_photo_img" align="center"><img src="/public/themes/hard/images/vietnam_photo.jpg" align="absmiddle" /></div>
        <div class="clear"></div>
	</div>
	
    <div class="vietnam_town_center">
    <a target="_blank" href="http://maps.google.com/maps/ms?hl=no&ptab=2&ie=UTF8&oe=UTF8&msa=0&msid=115117037637041179254.00046a2e69b3a93ebf2ab&ll=15.496032,107.270508&spn=12.680389,10.810547&z=5&output=embed">
    <img src="/public/themes/hard/images/vietnam_map.jpg" align="absmiddle" />
    </a>
    </div>
            
    <div class="vietnam_town_right">
    	<div class="box_category_bar">63 <?=t(196)?></div>
    	<?$i = 0;?>
    	<?foreach($this->viewParams['listCity'] as $city) :?>
    		<div class="box_category_title"><a href="<?=$this->hvnUrl(array('module' => 'place', 'action' => 'view'), 'nocontroller')?>?view_city=1&id=<?=$city['city_id']?>">
				<? if ($sess->viewLang == "vi") :?>
    			<?=$city['city_name']?> 
    			<?else :?>
    			<?=VN_unaccent($city['city_name'])?>
    			<?endif ?>
    			</a>(<?=$city['metadata']['place_count']['number_of_places']?>)</div>
    		<div class="clear"></div>
    	<?$i++;?><?if($i ==12) :?><?break;?><?endif?>
    	<?endforeach?>
    </div>           
    <div class="detail" style="padding-right:7px;"><a href="#chooseCity" class="chooseOtherCity" ><?=t(150)?></a></div>
                <div id="chooseCity" style="display: none;">
                <div class="clear"></div>
                 <div class="chitiet_bar_ajax" style="width: 100%">&nbsp;&nbsp;<?=t(907)?></div>
          <br /><br /><br />
                	<?foreach($this->viewParams['listCity'] as $city) :?>
		               <div class="sukien_box_right_item">
					   		 <?$top = $this->viewParams['listCity'][$i]?>
								<a href="<?=$this->hvnUrl(array('module'=>'place','action' => 'view'), 'nocontroller')?>?view_city=1&id=<?=$city['city_id']?>"><?=$city['city_name']?></a>
		             	  </div>
		          	<?endforeach?>
                </div> 
</div>